import { request } from './base'
export default {
    createEnterStock(data) {
        return request("trade/enterStock/create", "post", data)
    },
    createAutoEnterStock(data) {
        return request("trade/enterStock/device/create", "post", data)
    },
    updateEnterStock(data) {
        return request("trade/enterStock/update", "post", data)
    },
    farmerTradeOrderPage(data) {
        return request("trade/enterStock/farmerTradeOrderPage", "post", data)
    },
    shipperTradeOrderPage(data) {
        return request("trade/outStock/shipperTradeOrderPage", "post", data)
    },
    getNonSettlementPage(data) {
        return request("trade/enterStock/getNonSettlementPage", "post", data)
    },
    getSettlementPage(data) {
        return request("trade/enterStock/getSettlementPage", "post", data)
    },
    getOutStockSettlementPage(data) {
        return request("trade/outStock/getSettlementPage", "post", data)
    },
    settlement(data) {
        return request("trade/enterStock/settlement", "post", data)
    },
    printSettlement(data) {
        return request("trade/enterStock/print/settlement/content", "post", data)
    },
    outStockSettlement(data) {
        return request("trade/outStock/settlement", "post", data)
    },
    quotedOrder(data) {
        return request("trade/enterStock/marketer/quoted", "post", data)
    },
    getFarmerList(data) {
        return request("trade/enterStock/farmer/page", "post", data)
    },
    getMarketList(data) {
        return request("trade/enterStock/marketer/page", "post", data)
    },
    getMarketDetail(id) {
        return request(`trade/enterStock/info/${id}`, "get")
    },
    getFarmerReport() {
        return request(`trade/statistics/enterStock/farmer/transaction/report`, "get")
    },
}